import axios from 'axios'

const server = axios.create({
  timeout: 5000,
  baseURL: process.env.VUE_APP_BASE_URL
})

server.defaults.headers.post['Content-Type'] =
  'application/x-www-form-urlencoded;charset=UTF-8'

export default server
